IsLetterOrDigit


Node Information
Indicates whether the specified character is a letter or digit.
General Information
• This node doesn't have other available options.
Visual
Visual

Ports
Text Type DataType Accepts IsList CustomAcception
IN Char ONE FALSE FALSE
Result OUT Boolean MULTIPLE FALSE FALSE

Source
namespace Korduene.KGraph.Nodes.Char
{
    [IsNode("IsLetterOrDigit")]
    public class IsLetterOrDigit : Node
    {
        Port a = new Port(PortType.IN, typeof(char), AcceptsLinks.ONE);
        Port res = new Port(PortType.OUT, typeof(bool), AcceptsLinks.MULTIPLE, "Result");
        public IsLetterOrDigit()
        {
            Name = "IsLetterOrDigit";
            AddPort(a);
            AddPort(res);
            res.Instructions = "init";
            Information = "Indicates whether the specified character is a letter or digit.";
        }
        public override void UpdateResults()
        {
            res.Instructions = "char.IsLetterOrDigit(" + GetValue(a) + ")";
        }
    }
}