geetools.String.StringAccessor.eq#
- geetools.String.StringAccessor.eq(other)#
Compare two strings and return a
ee.Number
.- Parameters:
other (geetools.types.ee_str) – The string to compare with.
- Returns:
1
if the strings are equal,0
otherwise.- Return type:
ee.Number
Examples
import ee, geetools ee.Initialize() s = ee.String("foo").geetools.eq("foo") s.getInfo()