type 'tanh' ┌────┐ │verb│ └────┘ type 'ARGV' ┌────┐ │noun│ └────┘
I hope this helps, -- Raul On Tue, Apr 4, 2017 at 12:05 PM, Herbert Weissenbaeck // Privat <[email protected]> wrote: > thank you. most helpful. > works for bools, ints, floats and the like. > related question: > how would I now figure out which of the names in a locale refer to functions? > >> On 2 Apr 2017, at 14:43, 'Pascal Jasmin' via Programming >> <[email protected]> wrote: >> >> datatype or 3!:0 >> >> >> datatype 3 4.1 0 >> >> >> >> >> ________________________________ >> From: Herbert Weissenbaeck // Privat <[email protected]> >> To: [email protected] >> Sent: Sunday, April 2, 2017 8:33 AM >> Subject: [Jprogramming] type/domain of an argument >> >> >> >> quick beginner's question: >> >> how can i test whether an x or y argument is an array of int or an array of >> float or an array of char or of any other type (to avoid domain errors and >> handle different types differently in functions)? >> >> thank you >> >> herbert >> >> >> ---------------------------------------------------------------------- >> >> For information about J forums see http://www.jsoftware.com/forums.htm >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
