Ejemplo n.º 1
0
        /// <summary>
        /// If a container type,
        /// attempts to locate the integer at the end of the given path.
        /// </summary>
        /// <see cref="Locate(string)"/>
        /// <param name="path">A dot seperated path to the integer.</param>
        public int?LocateInteger(string path)
        {
            DiscordApiData data = Locate(path);

            return(data?.ToInteger());
        }