<number> = Numeric functions: islinkislink <path>
<number> = Numeric functions: islinkislink ( <path> )
Test whether Flow control: if … then Flow control: try … thenthe path refers to a Text functions: link Instructions: linklink.
Flow control: returnReturns a numeric Glossary: Valuevalue which is either 1 (true) Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or 0 (false).
Flow control: if … then Flow control: try … thenThe path must be a Glossary: text, text_valtext value Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and may be a full Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or partial path Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or start with "~" for Flow control: if … then Flow control: try … thenthe user's home directory. Symbolic Text functions: link Instructions: linklinks are followed except for Flow control: if … then Flow control: try … thenthe last path component. Flow control: if … then Flow control: try … thenThe path must Numeric functions: existsexist except for Flow control: if … then Flow control: try … thenthe last path component, which may be broken. Flow control: if … then Flow control: try … thenElse List functions: thisthis Vipsi command syntax: Functions Functions Glossary: Functionfunction aborts with an error, which may be caught with Flow control: try … thentry.
Flow control: if … then Flow control: try … thenThe following is a Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist of what Numeric functions: islinkislink Flow control: returnreturns under special Flow controlconditions.
As with all Vipsi command syntax: Functions Functions Glossary: Functionfunctions which accept exactly one Vipsi command syntax: Arguments Glossary: Argumentsargument Flow control: if … then Flow control: try … thenthe Separators: Round brackets "( … )" Functions with varying return types: bracket expression "()"parenthesis are optional Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and may be omitted Flow control: if … then Flow control: if … thenif the Vipsi command syntax: Arguments Glossary: Argumentsargument is no Vipsi command syntax: Expressions Glossary: Expressionexpression with Vipsi command syntax: Operators Operators Glossary: Operatoroperators.
e.g.:
vipsi> Instructions: putput Numeric functions: islinkislink("~/.vipsi") 0
vipsi>
|