Sign in
qemu
/
meson
/
refs/heads/timeoutfix
/
.
/
docs
/
markdown
/
snippets
/
str_in.md
blob: abcb8bdc0c785c8c70b8bdcae9e783c6b6093637 [
file
] [
log
] [
blame
] [
view
]
## `in` operator for strings
`in`
and
`not in`
operators now works on strings
,
in
addition to arrays
and
dictionaries
.
```
fs = import('fs')
if 'something' in fs.read('somefile')
# True
endif
```