method?

checks if given value is of type :method


Parameters

method? value :any

Returns

  • :logical

Examples

copy
greet: method [name :string][print ~"How are you, |name|?"] reply: function [name :string][print ~"Hi, I'm fine |name|!"] method? greet ; => true method? reply ; => false

Related