Scala Byte <=(x: Byte): Boolean Last Updated : 14 Jan, 2020 Summarize Comments Improve Suggest changes Share Like Article Like Report In Scala, Byte is a 8-bit signed integer (equivalent to Java's byte primitive type). The method <=(x:Byte) method is utilized to return true if this value is less than or equal to x, false otherwise. Method Definition: Byte <=(x: Byte): Boolean Return Type: It returns true if this value is less than or equal to x, false otherwise. Example #1: Scala // Scala program of Byte <=(x: Byte) // method // Creating object object GfG { // Main method def main(args:Array[String]) { // Applying Byte <=(x: Byte) function val result = (64.toByte).<=(12:Byte) // Displays output println(result) } } Output: false Example #2: Scala // Scala program of Byte <=(x: Byte) // method // Creating object object GfG { // Main method def main(args:Array[String]) { // Applying Byte <=(x: Byte) function val result = (25.toByte).<=(111:Byte) // Displays output println(result) } } Output: true Comment More infoAdvertise with us Next Article Scala Byte <=(x: Byte): Boolean S Shivam_k Follow Improve Article Tags : Python Scala Scala Scala-byte Practice Tags : python Similar Reads Scala Byte !=(x: Byte): Boolean In Scala, Byte is a 8-bit signed integer (equivalent to Java's byte primitive type). The method !=(x:Byte) method is utilized to return true if the value is not equal to the specified value x, otherwise returns false. Method Definition: Byte !=(x: Byte): Boolean Return Type: It returns true if the v 1 min read Scala Byte ==(x: Byte): Boolean In Scala, Byte is a 8-bit signed integer (equivalent to Java's byte primitive type). The method ==(x:Byte) method is utilized to return true if this value is equal to x, false otherwise. Method Definition: Byte ==(x: Byte): Boolean Return Type: It returns true if this value is equal to x, false othe 1 min read Scala Byte <(x: Int): Boolean In Scala, Byte is a 8-bit signed integer (equivalent to Java's byte primitive type). The method <(x:Int) method is utilized to return true if this value is less than x, false otherwise. Method Definition: Byte <(x: Int): Boolean Return Type: It returns true if this value is less than x, false 1 min read Scala Byte <=(x: Double): Boolean In Scala, Byte is a 8-bit signed integer (equivalent to Java's byte primitive type). The method <=(x:Double) method is utilized to return true if this value is less than or equal to x, false otherwise. Method Definition: Byte <=(x: Double): Boolean Return Type: It returns true if this value is 1 min read Scala Byte <=(x: Float): Boolean In Scala, Byte is a 8-bit signed integer (equivalent to Java's byte primitive type). The method <=(x:Float) method is utilized to return true if this value is less than or equal to x, false otherwise. Method Definition: Byte <=(x: Float): Boolean Return Type: It returns true if this value is l 1 min read Like