Bike.Interpreter.Builtin.ErrorFactory.IsErrorOfType C# (CSharp) Метод

IsErrorOfType() публичный статический Метод

public static IsErrorOfType ( BikeObject bo, string errorType ) : bool
bo BikeObject
errorType string
Результат bool
        public static bool IsErrorOfType(BikeObject bo, string errorType)
        {
            if (bo == null)
                return false;
            var prototype = ResolvePrototype(errorType);
            return prototype.IsPrototypeOf(bo).Value;
        }