| http://www.w3.org/ns/prov#value | - what is the best way to write a function ( maybe call it is_this_integer($v) ) which returns true when $V passed to it seems to be an integer to the naked eye? so, not just 1 or -1 but also strings such as '1' or ' 1 ' or '-1 ' or ' -1' will all return true, and needless to say 100x or '100x' will not return as integer.
|